Write a song for your game in the Music tab - a grid of notes, one column for each channel, with built-in sounds, effects, ready-made song styles, play and save, for the Game Boy Advance, the Game Boy and the Game Boy Color.
The music editor is where you write a song. You place notes on a grid, pick the sounds that play them, press Play to hear the result, and press Save to put the song in your game. It is the same editor for every console: it asks the console you chose what its sound can do, and shows you only that. A Game Boy song gets the Game Boy's four channels, a Game Boy Advance song gets recorded sounds.
Songs open in the music editor. If you have not written a song before, read Your first song in five minutes first.
To use a finished song in your game, see Sound and music. The differences between consoles are on The music editor on each console.
A tracker is a way of writing music as a table. Time runs down the page. Each line of the table is a row, a small slice of time. Each column is a channel: one sound at a time that can play a melody, a bass line or drums. To make a note, you put its name in a row of a channel's column. The song plays from the top row down, and when it reaches the bottom of a pattern it moves on to the next one.
That is all there is to it. A channel plays one note at a time, so a chord needs more than one channel. A drum beat is a channel that has a drum sound on every row where it should hit.
Open your project, go to the Music tab, and use one of two doors:
You need a project open. Songs at the top left returns to the Music tab's list. Your song stays open in the music editor until you close the project, so you can go back and forth.
If your console's music settings are not ready, the editor says so.
| Where | What is there |
|---|---|
| The top bar | The song's name (change it and press Enter), a label with the console, the song file kinds and the number of channels, a not saved mark when you have changes to save, Play, This pattern (plays the pattern you are looking at again and again), Stop, Loop, Save, Save as... (a dropdown: the other kinds of file the console saves, and always .wav), the Speed and Tempo boxes where the console has them, where the cursor is, Undo and Redo, Grid and Lanes, and Friendly notation. |
| The left side | Songs, Song structure, Genre templates and Instruments. |
| The middle | The note grid, with a small piano under it. |
| The right side | Instrument, Effects, Song settings and Problems. |
Each box on the sides is a section that opens and closes with a click, and the editor remembers which ones you left open. The small button at the right end of a section's title pops it out into a window of its own that you can move and resize; click the button again, or the one on the window, to put it back.
Point at almost anything to read what it does.
Lanes is the view you get first. It shows the pattern as colored bars. Time goes across, and a bar sits higher when its note is higher. Each channel has a lane of its own that shows about two octaves (wider when the channel's notes need more) with a small piano strip beside it that shows just those notes. The Oct buttons under a channel's Mute and Solo show the octave above or below; the choice is remembered for each channel while the song is open. A note outside the part you see is a small colored mark on the lane's top or bottom edge, and dragging a bar past the edge scrolls the lane. The first time a pattern is shown, the view scrolls sideways to where its notes start. You can drag a bar:
Grid is the tracker view. Rows go down and there is one column for each channel. Each cell holds up to four things side by side: the note, the instrument that plays it, a volume, and an effect. A cell reads like C-4 01 v40 405: the note C-4, instrument number 1, volume 40, and an effect.
Switch between the two as often as you like with Grid and Lanes in the top bar. They show the same song, and the editor remembers your choice.
Right-click a cell in the grid, an empty spot in a lane, or a bar, and a menu offers the edits that make sense there:
Each choice is one step of undo. A menu item that cannot work there is grayed out.
On a console whose song can have more or fewer channels, + Channel and - Channel sit where the channels end. + Channel adds the next channel the console has. - Channel takes the last one away; if it has notes in it, the editor asks first, and you can undo it. A console with a fixed set of channels, such as the Game Boy, says so when you point at a grayed button.
Friendly notation is on when you first open the editor. It swaps the tracker's letters and numbers for words: C-4 01 v40 405 becomes C4 Lead loud Vibrato. The note loses its dash, the instrument shows its name, the volume reads quiet, medium or loud, and the effect shows its name. It changes only how things are drawn. The song is the same, you can type in either style, and the button turns it off and on again (the editor remembers that too).
Click a cell, then play the keyboard like a piano. The two rows of letter keys are a keyboard, one octave on the bottom row and the next one on the top row:
| Row | Keys | Notes |
|---|---|---|
| Lower octave | Z S X D C V G B H N J M | C, C#, D, D#, E, F, F#, G, G#, A, A#, B |
| Upper octave | Q 2 W 3 E R 5 T 6 Y 7 U | The same twelve notes, one octave higher |
The grid starts at octave 4. The piano under the grid shows the octave, and [ and ] (or the - and + buttons beside it) move it down and up. You can also click a piano key. A note the console cannot play is ignored.
When you type a note it sounds at once, and the cursor moves down one row. The note uses the instrument of the nearest note above it in the same channel, or the first instrument in your song if there is none, so you can type a whole line without choosing an instrument each time.
| To | Press |
|---|---|
| End a note (note off) | 1 or the ` key |
| Clear what is selected | Delete |
| Move around | The arrow keys, PageUp, PageDown, Home and End. Left and Right step through the four parts of a cell (note, instrument, volume, effect) and on to the next channel. |
| Make an empty row where the cursor is | Insert |
| Delete the row above the cursor | Backspace |
| Octave down or up | [ and ] |
The editor has no setting for how far the cursor jumps after a note. It always goes down one row.
To fill in the other three parts of a cell, put the cursor on the part and type:
Or click the cell and change the sound in the Instrument section.
Drag across the grid to select a block of cells, or click one cell and Shift-click another. Shift with the arrow keys grows the selection. Ctrl+A selects everything in the pattern.
| To | Press |
|---|---|
| Copy | Ctrl+C |
| Cut | Ctrl+X |
| Paste (the block lands with its top left at your cursor) | Ctrl+V |
| Move the notes up or down a semitone | Ctrl+Up and Ctrl+Down |
| Move them an octave | Ctrl+Shift+Up and Ctrl+Shift+Down |
Transposing keeps every note inside what the console can play. Each of these is one step of undo.
A song is a list of patterns played one after another. Write a bar of a melody once, and play it again later by using the same pattern twice.
The Song structure section lists the song's steps, in order. Each step is the name of a pattern.
A song whose order is empty plays nothing, and Problems says so.
An instrument is a sound plus its settings. The Instruments section lists the song's instruments, grouped by kind, and what the kinds are depends on the console. + New makes a new one, the x removes one (if notes use it, the editor tells you and asks first), and a click on an instrument shows it in the Instrument section on the right, where you can rename it and change its settings. On the Game Boy Advance, clicking an instrument also plays it. The line under the list says how many instruments you have and how many the console allows.
The buttons under the list add the console's ready-made instruments, such as the three starting sounds on the Game Boy.
On the Game Boy Advance an instrument plays a recorded sound. There are two places to get one.
Ready-made sounds come as asset packs: press Asset Packs at the top, then Import purchases..., and bring in a pack of sounds (leads, bass, drums, pads, keys, bells and more). They land in your Sound effects as .wav sounds, and you can use any of them as an instrument with Import sound... or Add Existing Sounds.
Import sound... brings in a .wav file from your computer and makes an instrument of it. The file must be an ordinary .wav saved as 8-bit or 16-bit, mono or stereo (stereo is mixed down to one channel). A file that is not, says why. Use a sound file... in the Instrument section swaps the sound of the instrument you picked for a different .wav.
Once you have an instrument, the Instrument section shows its Volume, Fine tune, and Loop (play once, or repeat while the note is held). Hear it plays it. It also says how many bytes the sound takes in your game.
The Edit the sound section under the instrument settings draws the sound as a picture. Drag across it to pick a part. Drag the little squares at the top of the picked part to move its edges. Then:
Each button is one step that Undo takes back, and the song file keeps the sound just as you see it. Changing a built-in sound's shape or its effects starts these edits over.
A built-in sound has a Shape the sound section: its overall Loudness, how long it lasts (for sounds that play once), and the loudness of each part it is made of. The parts of a sound that are square waves also have a width, which changes how thin or full the tone is. The sound is rebuilt when you let go of a slider.
The Game Boy has no recorded sounds, so its instruments are the channels' own settings. The sections you see depend on the kind:
An effect changes how a note sounds, such as a slide, a wobble or a quick arpeggio. The Effects section lists every effect the editor knows, with a tag that says what the console does with it:
Effects that are On the console go in the effect part of a grid cell. You can type one there, choose Add effect in the right-click menu, or pick some notes in the grid, choose the effect in the Effects section and press Apply to selected notes. A note that already has that effect gets the new number, a note the effect cannot work on is left alone, and the whole thing is one step of undo.
Effects that are Made by Gbabel belong to a sound, not to a note: pick one of your built-in sounds, then tick the effect in the Effects section and set its numbers. Each effect says how many bytes the sound now takes, so you can see what it costs on the cartridge. If you use an effect the console does not have, the note is listed in Problems and the song will not play it.
The music editor on each console lists, console by console, which effects are which.
A template is a complete small song in a style, with its sounds already added. There are eight: Platformer, Puzzle, Battle, Town, Spooky, Title screen, Victory and Game over. They are written for the console you are making a game for, so a Game Boy template uses the Game Boy's channels.
Open Genre templates. Click a style to hear it, and each one says whether it repeats or plays once, and for how long. Use starts a new song from it. If the song you have open has notes or changes, the editor asks before it replaces it. Then change anything you like; the template is only a starting point, and yours to rewrite.
Song settings holds the numbers that set the pace: Rows per pattern, and Speed (how many ticks a row lasts - a bigger number is slower) or Tempo (beats a minute - bigger is faster), whichever the console uses. The allowed range of each is in the box when you point at it.
Save (or Ctrl+S) puts the song in your game.
The kind of file depends on the console. A new song starts as the kind the console prefers for new songs, when the music editor can write it: .xm on the Game Boy Advance (it holds every note and up to 32 channels, where a .mod holds only three octaves), and the first kind the console accepts on the Game Boy and Game Boy Color (.uge). Save as... can still choose .mod. A song you opened keeps the kind it came in. The music editor reads and writes .mod and .xm for the Game Boy Advance, and .uge and .mod for the two Game Boys. A song in another kind, such as .s3m or .it, stays in the tracker.
Each file kind can hold only so much. If your song is too big for its kind (a .mod, for example, holds 31 instruments), saving stops and a message says what is too much and what to do about it. If the console accepts another kind that can hold the song, the editor offers to save it as that kind instead. For a song that already has a file, the other kind becomes a new song in your game and the original is left alone. Nothing is written until the song fits.
Saving as .mod for a Game Boy keeps only each instrument's sound number, because a .mod has no place for the rest. .uge keeps everything. When something could not be kept, the editor tells you after it saves.
A song belongs to the project it was opened in. It cannot be saved into a different project.
The Problems section lists what the console cannot play in your song. It shows a count, such as Problems (3). For each one it says where it is (the pattern, the channel, the row) and what to do:
Red marks something that will not play. Yellow marks something to look at, such as a leftover effect kept from a song file that the editor cannot show. Click a problem to jump to its cell in the grid. The cell is marked in the grid too, and pointing at it tells you what is wrong. When there is nothing wrong, the section says so.
The music editor keeps its own undo. Ctrl+Z undoes the last step, Ctrl+Y (or Ctrl+Shift+Z) does it again, and the Undo and Redo buttons do the same. The button says what it would undo when you point at it. A drag of a bar or a paste is one step. Inside a text box, Ctrl+Z undoes your typing instead.
This is separate from the undo for the rest of the project. Changing project clears it.
A song that has changes you have not saved is counted when you open another project or close this one. Gbabel asks, and Save saves the song along with everything else.